package cz.edukomplex.kosilka.client.content.result;

import java.util.ArrayList;

import cz.edukomplex.kosilka.client.model.ResultSubjectModel;

public class ResultCellTableRow {

	
	public String rid;
	public String ID_st;
	public String firstname;
	public String lastName;
	public String questionNumber;
	public String oponentGrade;
	public String veduciGrade;
	public String obhajobaGrade;
	public String overallGrade;
	public String note;
	public ArrayList<ResultSubjectModel> subjectsList = new ArrayList<ResultSubjectModel>();	
	
	public ResultCellTableRow(){}

	public ResultCellTableRow(String rid, String iD_st, String firstname,
			String lastName, String oponentGrade, String veduciGrade,
			String obhajobaGrade, String overallGrade, String note,
			String questionNumber, ArrayList<ResultSubjectModel> subjectsList) {
		this.rid = rid;
		this.ID_st = iD_st;
		this.firstname = firstname;
		this.lastName = lastName;
		this.oponentGrade = oponentGrade;
		this.veduciGrade = veduciGrade;
		this.obhajobaGrade = obhajobaGrade;
		this.overallGrade = overallGrade;
		this.note = note;
		this.questionNumber = questionNumber;
		if(subjectsList != null) this.subjectsList = subjectsList;
	}
	public String getRid() {
		return rid;
	}
	public void setRid(String rid) {
		this.rid = rid;
	}
	public String getID_st() {
		return ID_st;
	}
	public void setID_st(String iD_st) {
		ID_st = iD_st;
	}
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getOponentGrade() {
		return oponentGrade;
	}
	public void setOponentGrade(String oponentGrade) {
		this.oponentGrade = oponentGrade;
	}
	public String getVeduciGrade() {
		return veduciGrade;
	}
	public void setVeduciGrade(String veduciGrade) {
		this.veduciGrade = veduciGrade;
	}
	public String getObhajobaGrade() {
		return obhajobaGrade;
	}
	public void setObhajobaGrade(String obhajobaGrade) {
		this.obhajobaGrade = obhajobaGrade;
	}
	public String getOverallGrade() {
		return overallGrade;
	}
	public void setOverallGrade(String overallGrade) {
		this.overallGrade = overallGrade;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public String getQuestionNumber(){
		return this.questionNumber;		
	}
	public void setQuestionNumber(String questinNumber){
		this.questionNumber = questinNumber;
	}

	@Override
	public String toString() {
		return "ResultCellTableRow [rid=" + rid + ", ID_st=" + ID_st
				+ ", firstname=" + firstname + ", lastName=" + lastName
				+ ", questionNumber=" + questionNumber + ", oponentGrade="
				+ oponentGrade + ", veduciGrade=" + veduciGrade
				+ ", obhajobaGrade=" + obhajobaGrade + ", overallGrade="
				+ overallGrade + ", note=" + note + ", subjectsList="
				+ subjectsList.toString() + "]";
	}
	
	
}
